// <copyright file="AuthorAttribute.cs" company="Gustavo Franco">
// Copyright (c) 2006 All Right Reserved
// </copyright>
// <author>Gustavo Franco</author>
// <email>gustavo_franco@hotmail.com</email>
// <date>2006</date>
// <summary>Provides the author attribute to classes.</summary>

// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
// PURPOSE. IT CAN BE DISTRIBUTED FREE OF CHARGE AS LONG AS THIS HEADER
// REMAINS UNCHANGED.

// Email:  gustavo_franco@hotmail.com

// Copyright (C) 2006 Franco, Gustavo

// Work done by Robert Tenney on this library: PathFinder, is based off of the previous work
// done by: Franco, Gustavo.

using System;

namespace TenneySoftware.Engine.Algorithms.Pathfinder {
    /// <summary>
    /// Provides the author attribute to classes.
    /// </summary>
    internal sealed class AuthorAttribute : Attribute {
        /// <summary>
        /// Name of the author.
        /// </summary>
        private string authorName;

        #region Constructors
        /// <summary>
        /// Initializes a new instance of the AuthorAttribute class.
        /// </summary>
        /// <param name="authorName">Name of the author.</param>
        public AuthorAttribute(string authorName) {
            this.authorName = authorName;
        }
        #endregion
        
        /// <summary>
        /// Gets the name of the Author.
        /// </summary>
        /// <value>
        /// The name of the Author.
        /// </value>
        public string AuthorName {
            get {
                return this.authorName;
            }
        }
    }
}
